Right now filters and range aggregation have very similar design for custom buckets. It should be refactored to reusable component. <img width="528" alt="Screenshot 2020-09-15 at 11 20 56" src="https://user-images.githubusercontent.com/4283304/93192054-8981a300-f745-11ea-8772-590c8b040114.png"> <img width="934" alt="Screenshot 2020-09-15 at 11 21 34" src="https://user-images.githubusercontent.com/4283304/93192131-9ef6cd00-f745-11ea-956d-0c9d288ef5c2.png">