Added support for log button