rework global preferences and complete the UI for select gesture