Exit button now working.