Fixed pause bug and added change quality dialog