Making a db reset and a swipe in/out