Merge "Extract the logic of MagnificationMode to the controller" into sc-dev