Added stubs for decryption in GUI and check whether in encryption or decryption mode.