Update main_activity.rb