More flexible app reset