put menu item callback and closing ops to scheduler

Otherwise, inverted menu item will not be shown