Add mayday button
Moved some functions
Add Mayday Dialog