Wired up animation definition add button
Added switching of selected animations to animation definition