Time delay when pressing q can be used to make pause button