checking whether desktop runner is closed if valid option sets