Merge "fix(magnification settings): create flag for restoring button status" into main