Created method to change status label