Updated filter functionality in activities section