Added inactive button for terminal records