Support refreshonly

Support refreshonly in osx_defaults.
Same the #63, a bit refactoring code.