Don't kill foreground task

Patch Set 2:
- Don't kill foreground task
- Set orientation to foreground task orientation

Patch Set 3:
- Remove System.out.println