Refactor and change prompt color.