makes brush select compatible with new api and calculate appropriate intervals
makes brush select compatible with new api and calculate appropriate intervals

tirami/udadisi-frontend,tirami/udadisi-frontend