big bug fixed. the bot will work now. somehow the buttonClicked value has to be 4.