Added another finish, now there are no redundant instances of mainActivity.