Issue #61: moved ActivityState instance filed into MyFragment; fixed
bugs related to fragment not showing up