Function createTimeframePreferences