DRY define_grid method and add clear form filter