Added button functionality and saving of tasks to file! (loading was already done)