Fix bug in usecart option of navbar