Bug fixing and new automatic detection of task and task views (now in views under tasks)