Added navigation func from navigation bar