added preferences view