add save and nav button func