fixed color swap when changing the activities