labels change appropriately upon clicking assign button