bug fixed

made changes to fix bug in which screen was blacked out and handled back
button