Clean up code (CommitActivity related)