Fixed no restore preferences fragment on change orientation