Implemented timeframe gap selection