add ASSettings class
fix build
transform navbai depends on ASSettings option
tidy comments