Attached the decoder to the GUI