modified preferences fragment