adding preferences view