Added spacebar to color change event