Added getter for current state into color button class.