obtain the buttons visibility from job status