Fixed bug with preferences not being updated when change in module page