It's best to modify $cells via plugin (hook: usercp_nav_start).
Assuming your adding links to it, you need a few things in your file:
PHP Code:
require_once(DIR . '/includes/functions_user.php');
this allows you to use the function which highlights your new links.
PHP Code:
construct_usercp_nav('Name_Of_Cell');
of course replacing Name_of_Cell with your modified/added cells in the $cells array.