reconstruct MainActivity