updated active/inactive button