added state for setting screen