Switched to keydown for mobile, added insert option