fix problem : reset app when user change to second view