Fixed setCurrentTime to work with more devices