App behaves correctly with tasks