Rename 'Key_Sate' variables to key_state