Switch between MyFragment and PastRecordFragment