implement shake module for closing the app