De-duplicate code
De-duplicate code

BugTesterTest/desktops,j-f1/forked-desktop,shiftkey/desktop,hjobrien/desktop,desktop/desktop,j-f1/forked-desktop,desktop/desktop,hjobrien/desktop,kactus-io/kactus,shiftkey/desktop,say25/desktop,say25/desktop,gengjiawen/desktop,desktop/desktop,shiftkey/desktop,gengjiawen/desktop,BugTesterTest/desktops,kactus-io/kactus,BugTesterTest/desktops,artivilla/desktop,artivilla/desktop,gengjiawen/desktop,hjobrien/desktop,gengjiawen/desktop,shiftkey/desktop,say25/desktop,kactus-io/kactus,hjobrien/desktop,BugTesterTest/desktops,j-f1/forked-desktop,kactus-io/kactus,desktop/desktop,artivilla/desktop,artivilla/desktop,j-f1/forked-desktop,say25/desktop