Fixes error when choosing DIAGS 

FIXES:

sudo ./imx_gui 
imx_gui version 1.0
./imx_gui: line 11: [: Diags: integer expression expected