Added filtering to the location activity