displaying message in the app