Update Navigation.java

flow layout needn't be set