Added more page logic and scenarios for adding tasks.