Made preference activity open on start