removed unused var
don't return promise in toggle()