Added printing functionality to the app