Optimize the user interface