Return the value of checkbox if selected