Added status label to query view