Connected new message,inbox & sent messages activites with the MainActivity