Adding quit functionality to homescreen