CRM-13852 - use php calls directly

----------------------------------------
* CRM-13852: activity filter user preference: flush cache before setting
  http://issues.civicrm.org/jira/browse/CRM-13852