Used for select the users' hehavior and restore that