show/hide buttons based on status