changed color of toggle during states