updated styles and show and hide function of new task button