showing task according to clicked task status