Fix keyboard enabled flag

This function setKeyboardEnabled(bool enabled) don't work when layer shows the second time, but keyboard listener is removed in function onExit().