Navigation works properly from both activities