added to actionlistenser and buttons to sense panel