Fixed an issue with the back button causing crash

Signed-off-by: Steven Dodge <sjdodge123@comcast.net>