adding filter feature to calendar