Fixed a bug in the plugin system of the gui

Signed-off-by: Daniel Borchmann <daniel.borchmann@mailbox.tu-dresden.de>