Added checkbox for AI

Make sure to check/uncheck before first keypress.