implemented buttons to change filter modes