allow UI to handle long keypress function