Update application version + fix NPE in sample