Moved keyJustPressed to Utils class