Cleaned up preferences xaml