Make statusLable customizable and format code