HotKey setting logic