Fix #359 clean excess white space when adding talk

This removes excess white space before or after talk details
when adding a talk to the database.