Added to button functionality

Works for tasks and deadlines. Also it now displays 2 per section.