Added functions for getting default values for preferences