Added a pass filter bar

All the pass filtering buttons are now contained in it
Added a method in QueryProcessor to filter applications.