Support navbar reflecting current module.

Also can remember latest stayed module when refreshing.