Remove blank spaces and add new task