Moving OS detecting to a separate module. Managing size of icon based on OS