Removed code for custom log button.