Using three mushrooms, a redstone torch, and some slime!
You can also change it's initial state by sneaking when you place it, or right-clicking it with a redstone torch.
You can either change its initial state by sneaking when you place it, or by right-clicking it with a redstone torch!