GUI: Makes delete buttons working

The code really needs refactoring.
Merge remote-tracking branch 'origin/master'

Conflicts:
	gui/test.glade