Checking and unchecking menu items: