Commands ends the session!

The commands feature is not working as illustrated in the video tutorial. It ends the session! but supposed to go back where I left!

image

here purchase is a command and intent