Allow to add new animation frames by double click

Fixes: #706.
Please use `append` instead of the STL-compatibility function. Also I'd prefer leaving out the newlines.