add redirect on saving preferences