Applying different colors at button inside Register while changing states