fix add slide;check for empty headline when setting title