Clean up main activity