Fixed restart start and stop problem for firefox