Mergebuttons are generated and deleted correctly now