NOOB HOTFIX:
Use fragments instead of activities. Move declarations and codes to fragment part of code