fix bug with launch button never being enabled on page load