Cleaned up preferences view.