enable/disable prioritize button implementation