fixed back button logic on counts and sessions