Reimplement safemode on longpress