add functionality for buttons for adding anime

add functionality for submit button for adding anime and updates the
list by redrawing it and all buttons are working correctly.