Keypresses are direct information.. they automatically toggle/untoggle so to speak.
You will need to think of your 'pictures' as buttons. They will need to have two states; On and Off.
To do this you will need to assign them variables defaulted to Off and turn one on when touched/clicked and others off, etc.