make action toggling async