Added print button and fixed snap issue