fix bug in start-stop buttons in firefox