Fix favorites functions like add/edit/...

terminateThis() was not properly called, breaking add/edit/remove
functions in Favorites pannel
Merge pull request #420 from Nabellaleen/FixTerminateThisCalls

Fix favorites functions like add/edit/...