Adding possibility to apply custom layour resource of a scan screen and handling a cancel button action if provided in the layout