JK Rowling shares her simple trick for getting through a tough time on Twitter