Code for OrderActivity.