Not the best way to use millis().
if(current_time - previous_time > 10000) Is better.
if(current_time - previous_time > 10000)
See Using millis() for timing. A beginners guide