modify some actions and templates file to make it possible of change the active li of menu bar