Fixed multiple activities bug with notifications