Closes app entirely from output screen