Updated loop-2 and added clear local storage btn