Added active() method to the Li class.

You can set directly the bool value as ->active(true), or call it just as
->active() to toggle between true/false.