Prepare MainActivity