Fine tuned values

Actions after getting the keypress in the main file.