Added the option to select a range of time, such as 24h, 7d, 30d, or all-time