(tasks #43, #45) Adds keyboard support and the method onReleaseButtonO() for better touch screen support