Clean up the user interface of the agenda view