Double buffer added to designer code