Text this: Dual Optimization of Deep CNN for Motor Imagery EEG Tasks Classification