Adapt sample app to FriendCode CodeNow