Fixed toggle pause button behavior.