Committing MainActivity