changed boolean logic in appview to correct syntax