Refactor indent settings function.