added enable and disable task feature to queue