catch "change" event for better use on mobile devices