store toastrSettings in cookies