Fixed rotate / fragment problem.

Fixed a problem where the current fragments would be disgarded on
rotate, since the main activity would just bug a new fragment regardless
of whatever was previously there.