commit code for constants activity type