now restore the previously displayed Fragment if onCreate() is called with an indicated Fragment in the savedInstanceState Bundle
added onRestart() to the unused lifecycle methods