Some funcionality to MainActivity