Added quit-button check to random mode of target practice.