button text and color changes depending on status.