updated code for taphold submenu