added departments filter in tasks
fix style in departments filter in tasks