Black board elements are changing to green after pressing it