added method for writing changes to disk - adding, removing and
completing tasks gets saved now.