Small changes to MyActivity